package com.android.goal;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;

public class LeagueViewGroup extends LinearLayout {
	public TextView competition;
	public ListView listMatch;	
	public LeagueViewGroup(Context context){
		super(context);		
		// Su dung layoutInflater de gan giao dien trong league_view.xml cho class nay
        
		LayoutInflater li = (LayoutInflater) this.getContext()
                                .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        li.inflate(R.layout.leagues_view, this, true);
        
		
        competition = (TextView) findViewById(R.id.competition);
        listMatch = (ListView) findViewById(R.id.list_match); 
        listMatch.setScrollbarFadingEnabled(true);
		
	}
}
